package com.imb.provider.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.imb.common.mybatis.entity.ImbList;
import com.imb.common.mybatis.entity.ImbLog;
import com.imb.common.mybatis.mapper.ImbListMapper;
import com.imb.common.mybatis.mapper.ImbLogMapper;
import com.imb.common.mybatis.page.PagePlus;
import com.imb.common.mybatis.plus.ServicePlusImpl;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author xzhi
 * @desc
 * @date 2024-09-29
 */
@Service
@Slf4j
@RequiredArgsConstructor
public class ImbListServiceImpl extends ServicePlusImpl<ImbListMapper, ImbList> implements ImbListService{


    private final ImbListMapper imbListMapper;

    @Override
    public IPage<ImbList> findPage() {
        LambdaQueryWrapper<ImbList> query = Wrappers.lambdaQuery(ImbList.class);
        return this.pageVo(new PagePlus<>(), query, ImbList.class);
    }
}
